function [timeDiff,actualTimes,fullExpDuration]=get_intraExpTime(proj_meta,cur_site)
ExpGroup=proj_meta(cur_site).ExpGroup;
[xls_num,xls_txt]=xlsread('\\argon.fmi.ch\keller.g\ExpLog\Stacks.xlsx');
stackDates=xls_txt(find(ismember(xls_num(:,3),ExpGroup))+1,5);
stackTimes=xls_txt(find(ismember(xls_num(:,3),ExpGroup))+1,6);
timeDiff=[];
for gnd=1:length(ExpGroup)-1
    date_strs=findstr(stackDates{gnd},'/');
    time_strs=findstr(stackTimes{gnd},':');
    t0=[str2num(stackDates{gnd}(date_strs(2)+1:end)) str2num(stackDates{gnd}(1:date_strs(1)-1)) str2num(stackDates{gnd}(date_strs(1)+1:date_strs(2)-1))...
        str2num(stackTimes{gnd}(1:time_strs(1)-1)) str2num(stackTimes{gnd}(time_strs(1)+1:time_strs(2)-1)) str2num(stackTimes{gnd}(time_strs(2)+1:end))];
    date_strs=findstr(stackDates{gnd+1},'/');
    time_strs=findstr(stackTimes{gnd+1},':');
    t1=[str2num(stackDates{gnd+1}(date_strs(2)+1:end)) str2num(stackDates{gnd+1}(1:date_strs(1)-1)) str2num(stackDates{gnd+1}(date_strs(1)+1:date_strs(2)-1))...
        str2num(stackTimes{gnd+1}(1:time_strs(1)-1)) str2num(stackTimes{gnd+1}(time_strs(1)+1:time_strs(2)-1)) str2num(stackTimes{gnd+1}(time_strs(2)+1:end))];
    timeDiff(gnd)=etime(t1,t0)/3600;
end

actualTimes=[];
for jnd=1:length(ExpGroup)
    time_strs=findstr(stackTimes{jnd},':');
    actualTimes(jnd)=str2num([stackTimes{jnd}(1:2) '.' stackTimes{jnd}(time_strs(1)+1:time_strs(1)+2)]);
end

fullExpDuration=[];
for tnd=1:length(ExpGroup)
    cur_fullTimes=xls_txt(find(ismember(xls_num(:,2),ExpGroup(tnd)))+1,6);
    cur_fullDates=xls_txt(find(ismember(xls_num(:,2),ExpGroup(tnd)))+1,5);
    date_strs=findstr(cur_fullDates{1},'/');
    time_strs=findstr(cur_fullTimes{1},':');
    t0=[str2num(cur_fullDates{1}(date_strs(2)+1:end)) str2num(cur_fullDates{1}(1:date_strs(1)-1)) str2num(cur_fullDates{1}(date_strs(1)+1:date_strs(2)-1))...
        str2num(cur_fullTimes{1}(1:time_strs(1)-1)) str2num(cur_fullTimes{1}(time_strs(1)+1:time_strs(2)-1)) str2num(cur_fullTimes{1}(time_strs(2)+1:end))];
    date_strs=findstr(cur_fullDates{end},'/');
    time_strs=findstr(cur_fullTimes{end},':');
    t1=[str2num(cur_fullDates{end}(date_strs(2)+1:end)) str2num(cur_fullDates{end}(1:date_strs(1)-1)) str2num(cur_fullDates{end}(date_strs(1)+1:date_strs(2)-1))...
        str2num(cur_fullTimes{end}(1:time_strs(1)-1)) str2num(cur_fullTimes{end}(time_strs(1)+1:time_strs(2)-1)) str2num(cur_fullTimes{end}(time_strs(2)+1:end))];
    fullExpDuration(tnd)=etime(t1,t0)/60;
end